import { RoleManagerComponent } from './role-manager.component';
import { SetRoleComponent } from './set-role/set-role.component';
import { ActionCode } from '@app/config/actionCode';
import { Route } from '@angular/router';

export default [
  {
    path: '',
    component: RoleManagerComponent,
    title: '角色管理',
    data: { key: 'role-manage' }
  },
  {
    path: 'set-role',
    component: SetRoleComponent,
    title: '角色管理',
    data: {
      key: 'set-role'
      //   authCode: ActionCode.RoleManagerSetRole
    }
  }
] as Route[];
